<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="AxdEnum_boolean">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="false" />
      <xs:enumeration value="true" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_XMLDocPurpose">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Purpose:Purpose</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Original" />
      <xs:enumeration value="Duplicate" />
      <xs:enumeration value="Proforma" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DataAreaId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company:ID for an area of data</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_AxdEntityAction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">AxdEntityAction:AxdEntityAction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="create" />
      <xs:enumeration value="update" />
      <xs:enumeration value="replace" />
      <xs:enumeration value="delete" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Record-ID:Unique ID for the record in the database</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_Int64">
    <xs:restriction base="xs:long">
      <xs:minInclusive value="-9223372036854775808" />
      <xs:maxInclusive value="9223372036854775807" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RecVersion">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Record Version:Version of the record in the database</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_Integer">
    <xs:restriction base="xs:int">
      <xs:minInclusive value="-2147483648" />
      <xs:maxInclusive value="2147483647" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStmtISOMax500Text">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Text fields in the ISO20022 schema. We've taken the maximum text size so as to be able to accommodate fields from non ISO formats as well.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="500" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStatementIdentificationText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Text:Text fields in the ISO20022 schema. We've taken the maximum text size so as to be able to accommodate fields from non ISO formats as well.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RefRecId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reference:Reference field in a different table</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:complexType name="AxdType_DateTime">
    <xs:simpleContent>
      <xs:extension base="xs:dateTime">
        <xs:attribute name="localDateTime" type="xs:dateTime" />
        <xs:attribute name="timezone" type="tns:AxdEnum_Timezone" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_Timezone">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="GMTMINUS1200INTERNATIONALDATELINEWEST" />
      <xs:enumeration value="GMTMINUS1100MIDWAYISLAND_SAMOA" />
      <xs:enumeration value="GMTMINUS1000HAWAII" />
      <xs:enumeration value="GMTMINUS0900ALASKA" />
      <xs:enumeration value="GMTMINUS0800PACIFICTIME" />
      <xs:enumeration value="GMTMINUS0800TIJUANA_BAJACALIFORNIA" />
      <xs:enumeration value="GMTMINUS0700ARIZONA" />
      <xs:enumeration value="GMTMINUS0700MOUNTAINTIME" />
      <xs:enumeration value="GMTMINUS0700CHIHUAHUA_LAPAZ_MAZATLAN" />
      <xs:enumeration value="GMTMINUS0600CENTRALAMERICA" />
      <xs:enumeration value="GMTMINUS0600CENTRALTIME" />
      <xs:enumeration value="GMTMINUS0600GUADALAJARA_MEXICOCITY" />
      <xs:enumeration value="GMTMINUS0600SASKATCHEWAN" />
      <xs:enumeration value="GMTMINUS0500BOGOTA_LIMA_QUITO_RIOBRANCO" />
      <xs:enumeration value="GMTMINUS0500EASTERNTIME" />
      <xs:enumeration value="GMTMINUS0500INDIANA" />
      <xs:enumeration value="GMTMINUS0430CARACAS" />
      <xs:enumeration value="GMTMINUS0400ASUNCION" />
      <xs:enumeration value="GMTMINUS0400ATLANTICTIME" />
      <xs:enumeration value="GMTMINUS0400LAPAZ" />
      <xs:enumeration value="GMTMINUS0400MANAUS" />
      <xs:enumeration value="GMTMINUS0400SANTIAGO" />
      <xs:enumeration value="GMTMINUS0330NEWFOUNDLAND" />
      <xs:enumeration value="GMTMINUS0300BRASILIA" />
      <xs:enumeration value="GMTMINUS0300BUENOSAIRES" />
      <xs:enumeration value="GMTMINUS0300BUENOSAIRES_GEORGETOWN" />
      <xs:enumeration value="GMTMINUS0300GREENLAND" />
      <xs:enumeration value="GMTMINUS0300MONTEVIDEO" />
      <xs:enumeration value="GMTMINUS0300_SALVADOR" />
      <xs:enumeration value="GMTMINUS0200MIDATLANTIC" />
      <xs:enumeration value="GMTMINUS0100AZORES" />
      <xs:enumeration value="GMTMINUS0100CAPEVERDIS" />
      <xs:enumeration value="GMT_CASABLANCA" />
      <xs:enumeration value="GMT_COORDINATEDUNIVERSALTIME" />
      <xs:enumeration value="GMT_CASABLANCA_MONTROVIA_REYKJAVIK" />
      <xs:enumeration value="GMT_DUBLIN_EDINBURGH_LISBON_LONDON" />
      <xs:enumeration value="GMTPLUS0100_AMSTERDAM_BERLIN_BERN_ROME" />
      <xs:enumeration value="GMTPLUS0100BELGRADE_BRATISLAVA_BUDAPEST" />
      <xs:enumeration value="GMTPLUS0100BRUSSELS_COPENHAGEN_MADRID" />
      <xs:enumeration value="GMTPLUS0100SARAJEVO_SKOPJE_WARSAW_ZAGREB" />
      <xs:enumeration value="GMTPLUS0100WESTCENTRALAFRICA" />
      <xs:enumeration value="GMTPLUS0200AMMAN" />
      <xs:enumeration value="GMTPLUS0200ATHENS_BUCHAREST_ISTANBUL" />
      <xs:enumeration value="GMTPLUS0200BEIRUT" />
      <xs:enumeration value="GMTPLUS0200MINSK" />
      <xs:enumeration value="GMTPLUS0200CAIRO" />
      <xs:enumeration value="GMTPLUS0200_DAMASCUS" />
      <xs:enumeration value="GMTPLUS0200HARARE_PRETORIA" />
      <xs:enumeration value="GMTPLUS0200HELSINKI_KYIV_RIGA_VILNIUS" />
      <xs:enumeration value="GMTPLUS0200JERUSALEM" />
      <xs:enumeration value="GMTPLUS0200WINDHOEK" />
      <xs:enumeration value="GMTPLUS0300BAGHDAD" />
      <xs:enumeration value="GMT_PLUS0300KALININGRAD_MINSK" />
      <xs:enumeration value="GMTPLUS0300KUWAIT_RIYADH" />
      <xs:enumeration value="GMTPLUS0300MOSCOW_STPETERSBURG_VOLGOGRAD" />
      <xs:enumeration value="GMTPLUS0400PORTLOUIS" />
      <xs:enumeration value="GMTPLUS0300NAIROBI" />
      <xs:enumeration value="GMTPLUS0300TBILISI" />
      <xs:enumeration value="GMTPLUS0330TEHRAN" />
      <xs:enumeration value="GMTPLUS0400ABUDHABI_MUSCAT" />
      <xs:enumeration value="GMTPLUS0400BAKU" />
      <xs:enumeration value="GMTPLUS0400CAUCASUSSTANDARDTIME" />
      <xs:enumeration value="GMTPLUS0400YEREVAN" />
      <xs:enumeration value="GMTPLUS0430KABUL" />
      <xs:enumeration value="GMTPLUS0500EKATERINBURG" />
      <xs:enumeration value="GMTPLUS0500ISLAMABAD_KARACHI" />
      <xs:enumeration value="GMTPLUS0500ISLAMABAD_KARACHI_TASHKENT" />
      <xs:enumeration value="GMTPLUS0530CHENNAI_KOLKATA_MUMBAI" />
      <xs:enumeration value="GMTPLUS0530SRIJAYAWARDENEPURA" />
      <xs:enumeration value="GMTPLUS0545KATHMANDU" />
      <xs:enumeration value="GMTPLUS0600ALMATY_NOVOSIBIRSK" />
      <xs:enumeration value="GMTPLUS0600ASTANA_DHAKA" />
      <xs:enumeration value="GMTPLUS0600DHAKA" />
      <xs:enumeration value="GMTPLUS0630_YANGON" />
      <xs:enumeration value="GMTPLUS0700_BANGKOK_HANOI_JAKARTA" />
      <xs:enumeration value="GMTPLUS0700KRASNOYARSK" />
      <xs:enumeration value="GMTPLUS0800BEIJING_CHONGQING_HONGKONG" />
      <xs:enumeration value="GMTPLUS0800IRKUTSK_ULAANBATAAR" />
      <xs:enumeration value="GMTPLUS0800_ULAANBAATAR" />
      <xs:enumeration value="GMTPLUS0800KUALALUMPUR_SINGAPORE" />
      <xs:enumeration value="GMTPLUS0800PERTH" />
      <xs:enumeration value="GMTPLUS0800TAIPEI" />
      <xs:enumeration value="GMTPLUS0900OSAKA_SAPPORO_TOKYO" />
      <xs:enumeration value="GMTPLUS0900SEOUL" />
      <xs:enumeration value="GMTPLUS0900YAKUTSK" />
      <xs:enumeration value="GMTPLUS0930ADELAIDE" />
      <xs:enumeration value="GMTPLUS0930DARWIN" />
      <xs:enumeration value="GMTPLUS1000BRISBANE" />
      <xs:enumeration value="GMTPLUS1000CANBERRA_MELBOURNE_SYDNEY" />
      <xs:enumeration value="GMTPLUS1000GUAM_PORTMORESBY" />
      <xs:enumeration value="GMTPLUS1000HOBART" />
      <xs:enumeration value="GMTPLUS1000VLADIVOSTOK" />
      <xs:enumeration value="GMTPLUS0600MAGADAN" />
      <xs:enumeration value="GMTPLUS1100MAGADAN_SOLOMONIS" />
      <xs:enumeration value="GMTPLUS1200AUCKLAND_WELLINGTON" />
      <xs:enumeration value="GMTPLUS1200FIJI_KAMCHATKA_MARSHALLIS" />
      <xs:enumeration value="GMTPLUS1300NUKU_ALOFA" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_BankStmtISODateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">DateTime:UTC Date Time fields in the ISO20022 schema.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_BankStmtISONumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number:Numeric (number) fields in the ISO20022 schema. We've taken the maximum text size so as to be able to accommodate fields from non ISO formats as well.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStatementNameText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Text fields in the ISO20022 schema. We've taken the maximum text size so as to be able to accommodate fields from non ISO formats as well.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="140" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStmtISOCurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:Currency-Code fields in the ISO20022 schema.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStmtISODecimal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Decimals:Decimal fields in the ISO20022 schema.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_Decimal">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AccountingDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Accounting date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CompanyBankAccountId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Bank account:Bank account number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankStatementType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Type:Type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Reconciliation" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankIBAN">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">IBAN:International bank account number. maximum of 34 alphanumeric characters.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStatementId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Statement ID:Unique key, allocated to importing a bank statement if it has not a statement ID specified.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStatementManual">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Manual:The statement is manually input.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Posted">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Posted:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankRegNum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Routing number:Routing number of the bank.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankStatementStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Open" />
      <xs:enumeration value="Validated" />
      <xs:enumeration value="InMatch" />
      <xs:enumeration value="Reconciled" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_SWIFTNo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">SWIFT code:SWIFT code, also known as BIC (Bank Identifier Code).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStatementValidatedBy">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Validated by:The user who run and complete the validation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TransDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Date:Transaction date</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Voucher">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Voucher:Voucher number in ledger.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStatementAmountDrCrIndicator">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Direction:Indicate the balance direction, debit or credit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Credit" />
      <xs:enumeration value="Debit" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankStatementBalanceType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Balance type:Balance type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Opening" />
      <xs:enumeration value="Closing" />
      <xs:enumeration value="NetAmount" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AmountCur">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount in transaction currency:The amount in the transaction currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ExchRate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exchange rate:Specify the cost in the foreign currency.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal">
      <xs:fractionDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_BankStatementLineStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Status:Status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Booked" />
      <xs:enumeration value="Information" />
      <xs:enumeration value="Pending" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdExtType_BankStatementBookingDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Booking date:The date that transaction occurred.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_NoYesId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_BankStatementReconciled">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Reconciled:The statement is fully reconciled.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Integer">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Integer:Integer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_ExtCodeValue">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Value:Actual value of the related record according to the selected external code type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdExtType_BankStmtISOCurrencyCode_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdExtType_BankStmtISOCurrencyCode tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailLoyaltyCustId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Loyalty customer:Identification of the loyalty customer.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Customer name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="100" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Addressing">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Address:View the formatted information for the address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_StreetName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Street:Street for ZIP/postal code, if needed.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressZipCodeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">ZIP/postal code:Identify ZIP/postal code district</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailCity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">City:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressCountyId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">County:Specifies a county within a state in the current country/region</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressStateId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">State/province:Identification of state</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressCountryRegionId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Country/region:Specifies default native country/region in connection with addresses</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Phone">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Telephone:Telephone number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PhoneLocal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Extension:Employee's extension at work.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_PhoneMobile">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mobile phone:Mobile phone number</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Email">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">E-mail:Internet e-mail address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="80" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailUsedPoints">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Used points:Number of used loyalty points</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailIssuedPoints">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Issued points:Number of issued loyalty points</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailPointStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Point status:Status of the loyalty points</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CustAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer account:Customer account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailExpiredPoints">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expired points:Number of expired loyalty points</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailLoyaltyCardId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Loyalty card number:Identification of the loyalty card.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailLinkType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Link type:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Cashier" />
      <xs:enumeration value="Customer" />
      <xs:enumeration value="Contact" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailLoyaltySchemeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Scheme ID:Identification of the loyalty scheme id.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailLoyaltyTenderType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Loyalty card type:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="AsCardTender" />
      <xs:enumeration value="AsContactTender" />
      <xs:enumeration value="NoTender" />
      <xs:enumeration value="Blocked" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_EcoResCategoryHierarchyName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Category hierarchy name</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="128" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RetailChannelType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Channel type:Channel type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="RetailStore" />
      <xs:enumeration value="OnlineStore" />
      <xs:enumeration value="OnlineMarketplace" />
      <xs:enumeration value="SharePointOnlineStore" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_CurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Currency:Current currency code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_DimensionAttributeValue">
    <xs:sequence>
      <xs:element minOccurs="1" name="Name" type="xs:string" />
      <xs:element minOccurs="1" name="Value" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_DimensionAttributeValues">
    <xs:sequence>
      <xs:element minOccurs="1" maxOccurs="unbounded" name="Value" type="tns:AxdType_DimensionAttributeValue" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_DimensionAttributeValueSet">
    <xs:sequence>
      <xs:element minOccurs="1" name="Values" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_RetailEventNotificationProfileId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Email notification profile:The field identifies retail Email notification profile</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RelationType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Relation type field:Immediate derived table in table inheritance.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InterCompanyInventLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_DirPartyNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Party ID:Party identification</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_NoYes">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailStoreArea">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Store area:Store area in square footage</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTransactionServiceProfileId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Profile:Real-time Service profile ID</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailStoreId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Store number:Identification of store</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailStoreName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Store name:Name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressStreet">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Street:Enter the street of the address</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="250" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AddressCity">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">City:City for ZIP/postal code</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailStaffId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Staff:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailFromTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">From:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailToTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">To:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Dimension">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailStatementMethod">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Statement method:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Staff" />
      <xs:enumeration value="Terminal" />
      <xs:enumeration value="Total" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailOneStatementPerDay">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">One statement per day:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailClosingMethod">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Closing method:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="DateTime" />
      <xs:enumeration value="PosBatch" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailRoundingAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Rounding account:Account number for posting in ledger.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMaxDifferenceAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Amount:The amount in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMaxRoundingAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Maximum rounding amount:The amount in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_NumberSequenceCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number sequence code:Current number sequence code to be used with references.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailFunctionalityProfileId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Profile:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailCreateLabelsForZeroPrice">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Create labels for zero price:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTenderTypeId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Payment method:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTenderDeclarationCalculation">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tender declaration calculation:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="LastTender" />
      <xs:enumeration value="SumTender" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMaximumTextLengthOnReceipt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Maximum text length on receipt:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailNumberOfTopOrBottomLines">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number of top/bottom lines:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailItemIdOnReceipt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Product number on receipt:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="ItemId" />
      <xs:enumeration value="BarcodeItemId" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailServiceChargePct">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service charge (%):</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailIncomeExepenseAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Account number:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailServiceChargePrompt">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Service charge prompt:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TaxGroup">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax group:A group of sales tax codes for calculating taxes on a sale or purchase</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailReplicationCounter">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Replication counter:Retail scheduler replication counter</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailRoundingTaxAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Difference tax account:Account number for posting in ledger.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMaxRoundingTaxAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Information if tax difference over:The amount in the accounting currency</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailLayoutId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Screen layout ID:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailGeneratesShelfLabels">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Prints shelf labels:Generates shelf labels for the current store</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailGeneratesItemLabels">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Prints product labels:Generates product labels for the current store</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_LanguageId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Language:Select the language for the current text.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="7" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailReqPlanIdSched">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Master plan:Identification of plan</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMaskId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Mask ID:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ServerName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Server name:Machine name of server.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="80" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDatabaseName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Database name:Name of database</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDBUserName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">User name:Name of database user</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailDBPassword">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Password:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailPOItemFilter">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">PO product filter:Only products that have been assigned to the store or the store's store group can be purchased for the store's location.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailConnDistributionGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Distribution group:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailHideTrainingMode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Hide training mode:Disables training mode for all registers in the store.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_TimeOfDay">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailseparateStmtPerStaffTerminal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Staff/register:Separate statement posting per staff and register?</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTaxOverrideGroupCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Sales tax override group:The ID number of the sales tax override group.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTaxIdNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Tax identification number (TIN):</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_InventLocationId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Warehouse:Identify the warehouse.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_DefaultAccount">
    <xs:sequence>
      <xs:element minOccurs="1" name="MainAccount" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_SelectableDataArea">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Company:ID for the company you can select</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTerminalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Register number:Identification of POS terminal</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTerminalName">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Name:Name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_Description">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Description:Brief description of transaction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTerminalStatement">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Register statement:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RetailClosingStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Closing" />
      <xs:enumeration value="Closed" />
      <xs:enumeration value="Completed" />
      <xs:enumeration value="Error" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailManagerKeyOnReturn">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Manager key on return:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailOpenDrawerAtLiLo">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Open drawer at logon/logoff:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailExitAfterEachTransaction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Exit after each transaction:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailAutoLoggOffTimeout">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Auto logoff timeout (minutes):</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailReturnInTransaction">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Return in transaction:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_RetailNoneItemBarcodeItem">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="ItemId" />
      <xs:enumeration value="BarcodeItem" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailEFTStoreId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">EFT store number:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailEFTTerminalId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">EFT POS register number:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailTerminalStore">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receipt setup location:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Terminal" />
      <xs:enumeration value="Store" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailMaxDisplayTextLength">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Maximum text length:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailCustomerDisplayText">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Customer display text:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailHardwareProfileId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Profile number:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailVisualProfileId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Profile number:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailPrintTaxRefundChecks">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Print tax refund checks:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailReceiptPrintingDefaultOff">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receipt printing off by default:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailReceiptBarcode">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Receipt bar code:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_VendAccount">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Vendor account:Vendor account number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailUpdateServicePort">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Update service port:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailIpAddress">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">IP address:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailStandAlone">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Stand alone:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="No" />
      <xs:enumeration value="Yes" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailNumberSequenceGroupId">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Number sequence group:Group for allocation of different number sequences to different customers/vendors.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_RetailNoneTotalAll">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Slip if return:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Total" />
      <xs:enumeration value="All" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdType_ContainerElementTypeRestrictions">
    <xs:restriction base="xs:string">
      <xs:enumeration value="blob" />
      <xs:enumeration value="date" />
      <xs:enumeration value="datetime" />
      <xs:enumeration value="enum" />
      <xs:enumeration value="int" />
      <xs:enumeration value="int64" />
      <xs:enumeration value="real" />
      <xs:enumeration value="str" />
      <xs:enumeration value="guid" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_ContainerElement">
    <xs:simpleContent>
      <xs:extension base="xs:anySimpleType">
        <xs:attribute name="type" type="tns:AxdType_ContainerElementTypeRestrictions" use="required" />
        <xs:attribute name="name" type="xs:string" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AxdType_Container">
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="element" type="tns:AxdType_ContainerElement" />
        <xs:element name="container" type="tns:AxdType_Container" />
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdExtType_AifTestContainer">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="element" type="tns:AxdType_ContainerElement" />
        <xs:element name="container" type="tns:AxdType_Container" />
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdExtType_AifTestDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestDateArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:complexType name="AxdExtType_AifTestDateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AxdExtType_AifTestDateTimeArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="tns:AxdType_DateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_Types">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="String" />
      <xs:enumeration value="Integer" />
      <xs:enumeration value="Real" />
      <xs:enumeration value="Date" />
      <xs:enumeration value="Enum" />
      <xs:enumeration value="RString" />
      <xs:enumeration value="UtcDateTime" />
      <xs:enumeration value="Container" />
      <xs:enumeration value="VarString" />
      <xs:enumeration value="Record" />
      <xs:enumeration value="Class" />
      <xs:enumeration value="UserType" />
      <xs:enumeration value="AnyType" />
      <xs:enumeration value="BLOB" />
      <xs:enumeration value="void" />
      <xs:enumeration value="Guid" />
      <xs:enumeration value="Int64" />
      <xs:enumeration value="Time" />
      <xs:enumeration value="VarArg" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestEnum">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="String" />
      <xs:enumeration value="Integer" />
      <xs:enumeration value="Real" />
      <xs:enumeration value="Date" />
      <xs:enumeration value="Enum" />
      <xs:enumeration value="RString" />
      <xs:enumeration value="UtcDateTime" />
      <xs:enumeration value="Container" />
      <xs:enumeration value="VarString" />
      <xs:enumeration value="Record" />
      <xs:enumeration value="Class" />
      <xs:enumeration value="UserType" />
      <xs:enumeration value="AnyType" />
      <xs:enumeration value="BLOB" />
      <xs:enumeration value="void" />
      <xs:enumeration value="Guid" />
      <xs:enumeration value="Int64" />
      <xs:enumeration value="Time" />
      <xs:enumeration value="VarArg" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestEnumArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="String" />
      <xs:enumeration value="Integer" />
      <xs:enumeration value="Real" />
      <xs:enumeration value="Date" />
      <xs:enumeration value="Enum" />
      <xs:enumeration value="RString" />
      <xs:enumeration value="UtcDateTime" />
      <xs:enumeration value="Container" />
      <xs:enumeration value="VarString" />
      <xs:enumeration value="Record" />
      <xs:enumeration value="Class" />
      <xs:enumeration value="UserType" />
      <xs:enumeration value="AnyType" />
      <xs:enumeration value="BLOB" />
      <xs:enumeration value="void" />
      <xs:enumeration value="Guid" />
      <xs:enumeration value="Int64" />
      <xs:enumeration value="Time" />
      <xs:enumeration value="VarArg" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdType_GUID">
    <xs:restriction base="xs:string">
      <xs:minLength value="38" />
      <xs:maxLength value="38" />
      <xs:pattern value="({[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}})" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestGuid">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_GUID" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestGuidArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="tns:AxdType_GUID" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestInt64">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestInt64Array">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Int64" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestInteger">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestIntegerArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Integer" />
  </xs:simpleType>
  <xs:simpleType name="AxdUnion_AxdType_Str_AxdType_ExtCodeValue">
    <xs:union memberTypes="tns:AxdType_Str tns:AxdType_ExtCodeValue" />
  </xs:simpleType>
  <xs:simpleType name="AxdType_Str">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">String:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="64" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestReal">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestRealArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="tns:AxdType_Decimal" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestString">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="64" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestStringArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="13" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:Time of day</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_AifTestTimeArray">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US" />
    </xs:annotation>
    <xs:restriction base="xs:time">
      <xs:pattern value="^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}(\.[0-9]+)?([\+\-](0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))?$" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AxdType_MultiTypeAccount">
    <xs:sequence>
      <xs:element minOccurs="1" name="DisplayValue" type="xs:string" />
      <xs:element minOccurs="1" name="Account" type="xs:string" />
      <xs:element minOccurs="0" name="Values" nillable="true" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_MultiTypeDefaultAccount">
    <xs:sequence>
      <xs:element minOccurs="1" name="Account" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_DimensionAttributeSet">
    <xs:sequence>
      <xs:element minOccurs="1" name="BaseEnumType" type="xs:string" />
      <xs:element minOccurs="1" name="Values" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_LedgerAccount">
    <xs:sequence>
      <xs:element minOccurs="1" name="DisplayValue" type="xs:string" />
      <xs:element minOccurs="1" name="MainAccount" type="xs:string" />
      <xs:element minOccurs="0" name="Values" nillable="true" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_BudgetAccount">
    <xs:sequence>
      <xs:element minOccurs="1" name="DisplayValue" type="xs:string" />
      <xs:element minOccurs="1" name="AccountStructure" type="xs:string" />
      <xs:element minOccurs="1" name="Values" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdType_BudgetPlanning">
    <xs:sequence>
      <xs:element minOccurs="1" name="DisplayValue" type="xs:string" />
      <xs:element minOccurs="1" name="AccountStructure" type="xs:string" />
      <xs:element minOccurs="1" name="Values" type="tns:AxdType_DimensionAttributeValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AxdEnum_AxdValidTimeStateType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="AsOf" />
      <xs:enumeration value="Range" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ActionType">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Action:Action</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Advance" />
      <xs:enumeration value="Postpone" />
      <xs:enumeration value="Appreciate" />
      <xs:enumeration value="Depreciate" />
      <xs:enumeration value="AdvanceAppreciate" />
      <xs:enumeration value="AdvanceDepreciate" />
      <xs:enumeration value="PostponeAppreciate" />
      <xs:enumeration value="PostponeDepreciate" />
      <xs:enumeration value="Cancel" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_ValidTimeStateUpdate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="CreateNewTimePeriod" />
      <xs:enumeration value="Correction" />
      <xs:enumeration value="EffectiveBased" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ValidFromDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Effective:The date from which this record is valid.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdExtType_ValidToDate">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">Expiration:The date up to which this record is valid.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date" />
  </xs:simpleType>
  <xs:simpleType name="AxdEnum_FMVehicleStatus">
    <xs:annotation>
      <xs:documentation xml:lang="EN-US">:</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Available" />
      <xs:enumeration value="InService" />
      <xs:enumeration value="Rented" />
      <xs:enumeration value="Damaged" />
      <xs:enumeration value="Recalled" />
      <xs:enumeration value="Pending" />
    </xs:restriction>
  </xs:simpleType>
</xs:schema>